package cn.jbit.supermarker.service;

import java.util.List;

import cn.jbit.supermarker.entity.User;


public interface UserService {

	//查询用户信息列表
		public List<User> getUserList();
		//添加用户信息
		public boolean addUser(User user);
		//修改用户信息
		public boolean updateUser(User user);
		//删除用户信息
		public boolean deleteUser(int id);
		//获得总记录数
		public int getTotalCount(String userName);
		//根据id获取某条记录信息
		public User getUserById(int id);
		//分页获取商品列表信息
		public List<User> getUserPageList(int pageNo,int pageSize,String userName);
		
		public User login(String loginName,String loginPwd);
		public User searchLogName(String userName);
}
